<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />

<div class="t_bar">
	<span class="color_red">*</span>1、开放交流（相关证明材料单独装订成册）
</div>
<strong>（1）客座研究人员情况 </strong>
<table id="eq_table10" class="t_css" width="100%">
<col style="width: 5%"/>
<col style="width: 5%"/>
<col style="width: 8%"/>
<col style="width: 6%"/>
<col style="width: 6%"/>
<col style="width: 12%"/>
<col style="width: 12%"/>
<col style="width: 24%"/>
<col style="width: 11%"/>
<col style="width: 11%"/>

    <thead >
        <tr style="border:1px solid #B7D1E6">
            <th class="TblHead" align="center">选择</th>
            <th class="TblHead" align="center">序号</th>
            <th class="TblHead" align="center">姓名</th>
            <th class="TblHead" align="center">性别</th>
            <th class="TblHead" align="center">年龄</th>
            <th class="TblHead" align="center">从事专业</th>
            <th class="TblHead" align="center">技术职务</th>
            <th class="TblHead" align="center">工作单位</th>
            <th class="TblHead" align="center">在实验室工作开始时间</th>
            <th class="TblHead" align="center">在实验室工作结束时间</th>
        </tr>
    </thead>
    <tbody id="tab">
        <tr style="display:none">
            <td align="center">
                <input type="radio" style="border: 0px;background-color: white;" class="radiobutton" name="selButton10" >
            </td>
            <td align="center">
                <span name="visiting_psns|visiting_psn[0]@seq_no" >[index]</span> 
            </td>
            <td align="center">
                <input type="text" name="visiting_psns|visiting_psn[0]|name" class="required" maxlength="60" style="width:80%" label="姓名" value="" />
            </td>
            <td align="center">
                <cpt:select id="gender3_[index]" name="visiting_psns|visiting_psn[0]|gender3" key="gender" className="input_css required" onChange="initControlValue(this.id);" style="width:80%" label="性别"></cpt:select>
                <input type="hidden" name="visiting_psns|visiting_psn[0]|gender3_value" value=""/>
                <input type="hidden" name="visiting_psns|visiting_psn[0]|gender3_name" value=""/>
            </td>
            <td align="center">
                <input type="text" name="visiting_psns|visiting_psn[0]|age" class="required" onfocus="InitInput.setNumber(this,3,0,0)" style="width:80%;" label="年龄" value="" />
            </td>
            <td align="center">
                <input type="text" name="visiting_psns|visiting_psn[0]|work_major" class="required" maxlength="60" style="width:80%" label="从事专业" value="" />
            </td>
            <td align="center">
                <input type="text" name="visiting_psns|visiting_psn[0]|job" class="required" maxlength="60" style="width:80%" label="技术职务" value="" />
            </td>
            <td align="center">
                <input type="text" name="visiting_psns|visiting_psn[0]|work_unit" class="required" maxlength="100" style="width:80%" label="工作单位" value="" />
            </td>
            <td align="center">
                <cpt:date id="start4_date[0]" name="visiting_psns|visiting_psn[0]|start4_date" value="" className="required date dateCompareBeforeE:start4_date[0]:end4_date[0]" label="在实验室工作开始时间" size="6"></cpt:date>
            </td>
            <td align="center">
                <cpt:date id="end4_date[0]" name="visiting_psns|visiting_psn[0]|end4_date" value="" className="required date" label="在实验室工作结束时间" size="6"></cpt:date>
            </td>
        </tr>
    
    
        <c:set value="0" var="index" scope="page"/>
        <x:forEach select="$xmlData/data/visiting_psns/visiting_psn" var="visiting_psn">
            <c:choose>
                <c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
                <c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
            </c:choose>
            <tr>
                <td align="center">
                    <input type="radio" style="border: 0px;background-color: white;" class="radiobutton" name="selButton10" >
                </td>
                <td align="center">
                    <span name="visiting_psns/visiting_psn[${flag}${index}]@seq_no"><x:out select="$visiting_psn/@seq_no"/></span> 
                </td>
                <td align="center">
                    <input type="text" name="visiting_psns/visiting_psn[${flag}${index}]/name" value="<x:out select="$visiting_psn/name" />"  maxlength="60" class="required" style="width:80%" label="姓名 "/>
                </td>
                <td align="center">
                    <c:set var="gender3"><x:out select="$visiting_psn/gender3_value"/></c:set>
                    <cpt:select id="gender3_${index }" key="gender"  className="input_css required" name="gender3"
                    onChange="initControlValue(this.id);" value="${gender3 }" style="width:80%;" label="性别"></cpt:select>
                    <input type="hidden" name="visiting_psns/visiting_psn[${flag}${index}]/gender3_value" value="${gender3 }"/>
                    <input type="hidden" name="visiting_psns/visiting_psn[${flag}${index}]/gender3_name" value="<x:out select="$visiting_psn/gender3_name" />" />
                </td>
                <td align="center">
                    <input type="text" name="visiting_psns/visiting_psn[${flag}${index}]/age" class="required" style="width:80%;" onfocus="InitInput.setNumber(this,3,0,0)" label="年龄" value="<x:out select="$visiting_psn/age"/>"/>
                </td>
                <td align="center">
                    <input type="text" name="visiting_psns/visiting_psn[${flag}${index}]/work_major" value="<x:out select="$visiting_psn/work_major" />"  maxlength="60" class="required" style="width:80%" label="从事专业"/>
                </td>
                <td align="center">
                    <input type="text" name="visiting_psns/visiting_psn[${flag}${index}]/job" value="<x:out select="$visiting_psn/job" />"  maxlength="60" class="required" style="width:80%" label="技术职务"/>
                </td>
                <td align="center">
                    <input type="text" name="visiting_psns/visiting_psn[${flag}${index}]/work_unit" value="<x:out select="$visiting_psn/work_unit" />"  maxlength="100" class="required" style="width:80%" label="工作单位"/>
                </td>
                <td align="center">
                    <c:set var="start4_date"><x:out select="$visiting_psn/start4_date"/></c:set>
                    <cpt:date id="start4_date${index }" name="visiting_psns/visiting_psn[${flag}${index}]/start4_date" value="${start4_date }" className="required date dateCompareBeforeE:start4_date${index }:end4_date${index }" label="在实验室工作开始时间" size="6"></cpt:date>
                </td>
                <td align="center">
                    <c:set var="end4_date"><x:out select="$visiting_psn/end4_date"/></c:set>
                    <cpt:date id="end4_date${index }" name="visiting_psns/visiting_psn[${flag}${index}]/end4_date" value="${end4_date }" className="required date" label="在实验室工作结束时间" size="6"></cpt:date>
                </td>            </tr>
            <c:set value="${index+1}" var="index" scope="page"/>
        </x:forEach>
    </tbody>
</table>
<table width="98%" align="center">
    <tr>
        <td>
            <input class="button_02" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('eq_table10',999,'客座研究人员情况内容最多只能填写999条')){addNewRow('eq_table10');showDateTag('eq_table10');}try{top.resizeFrame();}catch(e){};">
            <input class="button_02" name="cmdMovePrev" type=button value="上移" onclick="movePrev('eq_table10','selButton10');">
            <input class="button_02" name="cmdMoveNext" type=button value="下移" onclick="moveNext('eq_table10','selButton10');">
            <input class="button_02" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('eq_table10','客座研究人员情况');">
        </td>
    </tr>
</table>
<p>注：在“实验室工作期限”栏中填写每人实际在实验室工作的起止时间。</p>
<br/>

<strong>（2）承办或参加大型学术会议情况</strong>
<table id="eq_table11" class="t_css" width="100%">
<col style="width: 5%"/>
<col style="width: 5%"/>
<col style="width: 24%"/>
<col style="width: 20%"/>
<col style="width: 12%"/>
<col style="width: 12%"/>
<col style="width: 8%"/>
<col style="width: 14%"/>

    <thead >
        <tr style="border:1px solid #B7D1E6">
            <th class="TblHead" align="center">选择</th>
            <th class="TblHead" align="center">序号</th>
            <th class="TblHead" align="center">会议名称</th>
            <th class="TblHead" align="center">主办单位名称</th>
            <th class="TblHead" align="center">会议主席</th>
            <th class="TblHead" align="center">召开时间</th>
            <th class="TblHead" align="center">参加人数</th>
            <th class="TblHead" align="center">类别</th>
        </tr>
    </thead>
    <tbody id="tab">
        <tr style="display:none">
            <td align="center">
                <input type="radio" style="border: 0px;background-color: white;" class="radiobutton" name="eq_table11" >
            </td>
            <td align="center">
                <span name="meetting_situations|meetting_situation[0]@seq_no" >[index]</span> 
            </td>
            <td align="center">
                <input type="text" name="meetting_situations|meetting_situation[0]|meetting_name" class="required" maxlength="60" style="width:80%" label="会议名称" value="" />
            </td>
            <td align="center">
                <input type="text" name="meetting_situations|meetting_situation[0]|unit_name" class="required" maxlength="60" style="width:80%" label="主办单位名称" value="" />
            </td>
            <td align="center">
                <input type="text" name="meetting_situations|meetting_situation[0]|chairman_name" class="required" maxlength="20" style="width:80%" label="会议主席" value="" />
            </td>
            <td align="center">
                <cpt:date id="convene_date[index]" name="meetting_situations|meetting_situation[0]|convene_date" value="" className="required date" label="召开时间" size="7"></cpt:date>
            </td>
            <td align="center">
                <input type="text" name="meetting_situations|meetting_situation[0]|join_count" class="required" onfocus="InitInput.setNumber(this,9,0,0)" style="width:80%;text-align: right;" label="参加人数" value="" />
            </td>
            <td align="center">
                <input type="text" name="meetting_situations|meetting_situation[0]|type" class="required" maxlength="20" style="width:80%" label="类别" value="" />
            </td>
        </tr>
    
    
        <c:set value="0" var="index" scope="page"/>
        <x:forEach select="$xmlData/data/meetting_situations/meetting_situation" var="meetting_situation">
            <c:choose>
                <c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
                <c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
            </c:choose>
            <tr>
                <td align="center">
                    <input type="radio" style="border: 0px;background-color: white;" class="radiobutton" name="eq_table11" >
                </td>
                <td align="center">
                    <span name="meetting_situations/meetting_situation[${flag}${index}]@seq_no"><x:out select="$meetting_situation/@seq_no"/></span> 
                </td>
                <td align="center">
                    <input type="text" name="meetting_situations/meetting_situation[${flag}${index}]/meetting_name" value="<x:out select="$meetting_situation/meetting_name" />"  maxlength="60" class="required" style="width:80%" label="会议名称 "/>
                </td>
                <td align="center">
                    <input type="text" name="meetting_situations/meetting_situation[${flag}${index}]/unit_name" value="<x:out select="$meetting_situation/unit_name" />"  maxlength="60" class="required" style="width:80%" label="主办单位名称 "/>
                </td>
                <td align="center">
                    <input type="text" name="meetting_situations/meetting_situation[${flag}${index}]/chairman_name" value="<x:out select="$meetting_situation/chairman_name" />"  maxlength="20" class="required" style="width:80%" label="会议主席"/>
                </td>
                <td align="center">
                    <c:set var="convene_date"><x:out select="$meetting_situation/convene_date"/></c:set>
                    <cpt:date id="convene_date${index }" name="meetting_situations/meetting_situation[${flag}${index}]/convene_date" value="${convene_date }" className="required date" label="召开时间" size="7"></cpt:date>
                </td>
                <td align="center">
                    <input type="text" name="meetting_situations/meetting_situation[${flag}${index}]/join_count" value="<x:out select="$meetting_situation/join_count" />" onfocus="InitInput.setNumber(this,9,0,0)" style="width:80%;text-align: right;" class="required" label="参加人数"/>
                </td>
                <td align="center">
                    <input type="text" name="meetting_situations/meetting_situation[${flag}${index}]/type" value="<x:out select="$meetting_situation/type" />"  maxlength="20" class="required" style="width:80%" label="类型"/>
                </td>
            </tr>
            <c:set value="${index+1}" var="index" scope="page"/>
        </x:forEach>
    </tbody>
</table>
<table width="98%" align="center">
    <tr>
        <td>
            <input class="button_02" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('eq_table11',999,'承办或参加大型学术会议情况内容最多只能填写999条')){addNewRow('eq_table11');showDateTag('eq_table11');}try{top.resizeFrame();}catch(e){};">
            <input class="button_02" name="cmdMovePrev" type=button value="上移" onclick="movePrev('eq_table11','eq_table11');">
            <input class="button_02" name="cmdMoveNext" type=button value="下移" onclick="moveNext('eq_table11','eq_table11');">
            <input class="button_02" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('eq_table11','承办或参加大型学术会议情况');">
        </td>
    </tr>
</table>
<p>注：请按国际性、全国性等类别排序，并在类别栏中注明。</p>
<br/>

<strong>（3）开放基金设立和运行情况</strong>
<table id="eq_table12" class="t_css" width="100%">
<col style="width: 5%"/>
<col style="width: 5%"/>
<col style="width: 20%"/>
<col style="width: 40%"/>
<col style="width: 10%"/>
<col style="width: 20%"/>

    <thead >
        <tr style="border:1px solid #B7D1E6">
            <th class="TblHead" align="center">选择</th>
            <th class="TblHead" align="center">序号</th>
            <th class="TblHead" align="center">开放基金名称</th>
            <th class="TblHead" align="center">运行情况</th>
            <th class="TblHead" align="center">金额（万元）</th>
            <th class="TblHead" align="center">备注</th>
        </tr>
    </thead>
    <tbody id="tab">
        <tr style="display:none">
            <td align="center">
                <input type="radio" style="border: 0px;background-color: white;" class="radiobutton" name="selButton12" >
            </td>
            <td align="center">
                <span name="operation_situations|operation_situation[0]@seq_no" >[index]</span> 
            </td>
            <td align="center">
                <input type="text" name="operation_situations|operation_situation[0]|fund_name" class="required" maxlength="60" style="width:80%" label="开放基金名称" value="" />
            </td>
            <td align="center">
                <input type="text" name="operation_situations|operation_situation[0]|operation_situation" class="required" maxlength="60" style="width:80%" label="运行情况" value="" />
            </td>
            <td align="center">
                <input type="text" name="operation_situations|operation_situation[0]|fund" class="required" onfocus="InitInput.setNumber(this,9,2,2)" style="width:80%;text-align: right;" label="金额" value="" />
            </td>
            <td align="center">
                <input type="text" name="operation_situations|operation_situation[0]|remarks" class="required" maxlength="60" style="width:80%" label="备注" value="" />
            </td>
        </tr>
    
    
        <c:set value="0" var="index" scope="page"/>
        <x:forEach select="$xmlData/data/operation_situations/operation_situation" var="operation_situation">
            <c:choose>
                <c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
                <c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
            </c:choose>
            <tr>
                <td align="center">
                    <input type="radio" style="border: 0px;background-color: white;" class="radiobutton" name="selButton12" >
                </td>
                <td align="center">
                    <span name="operation_situations/operation_situation[${flag}${index}]@seq_no"><x:out select="$operation_situation/@seq_no"/></span> 
                </td>
                <td align="center">
                    <input type="text" name="operation_situations/operation_situation[${flag}${index}]/fund_name" value="<x:out select="$operation_situation/fund_name" />"  maxlength="60" class="required" style="width:80%" label="开放基金名称 "/>
                </td>
                <td align="center">
                    <input type="text" name="operation_situations/operation_situation[${flag}${index}]/operation_situation" class="required" maxlength="60" style="width:80%" label="运行情况" value="<x:out select="$operation_situation/operation_situation"/>"/>
                </td>
                <td align="center">
                    <input type="text" name="operation_situations/operation_situation[${flag}${index}]/fund" class="required" onfocus="InitInput.setNumber(this,9,2,2)" style="width:80%;text-align: right;" label="金额" value="<x:out select="$operation_situation/fund"/>"/>
                </td>
                <td align="center">
                    <input type="text" name="operation_situations/operation_situation[${flag}${index}]/remarks" class="required" style="width:80%" maxlength="60" label="备注" value="<x:out select="$operation_situation/remarks"/>"/>
                </td>
            </tr>
            <c:set value="${index+1}" var="index" scope="page"/>
        </x:forEach>
    </tbody>
</table>
<table width="98%" align="center">
    <tr>
        <td>
            <input class="button_02" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('eq_table12',999,'开放基金设立和运行情况内容最多只能填写999条')){addNewRow('eq_table12');showDateTag('eq_table12');}try{top.resizeFrame();}catch(e){};">
            <input class="button_02" name="cmdMovePrev" type=button value="上移" onclick="movePrev('eq_table12','selButton12');">
            <input class="button_02" name="cmdMoveNext" type=button value="下移" onclick="moveNext('eq_table12','selButton12');">
            <input class="button_02" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('eq_table12','开放基金设立和运行情况');">
        </td>
    </tr>
</table>

<div class="t_bar">
    <span class="color_red">*</span>2、运行管理（相关证明材料单独装订成册）
</div>
<table class="t_css" width="100%" id="table_11">
    <tr>
        <td>请简要介绍实验室内部规章制度建设、日常管理工作、学术委员会作用，实验室科研氛围和学术风气、有无违反学术道德的事件发生，依托单位是否给予实验室独立的建制、相对集中的实验室空间、充分的人事和财务自主权、重大专项经费支持等方面的情况。（限500字）</td>
    </tr>
    <tr>
        <td>
            <textarea name="proposal/operation_management" class="input_textarea required maxlength:500" label="运行管理" style="width: 98%" rows="9"><x:out select="$xmlData/data/proposal/operation_management" /></textarea>
            <input type="hidden" name="proposal/operation_management_hidden" value="<x:out select="$xmlData/data/proposal/operation_management_hidden" />"/>
        </td>
    </tr>
</table>

<div class="t_bar">
    <span class="color_red">*</span>3、仪器设备
</div>
<table class="t_css" width="100%" id="table_12">
    <tr>
        <td>请简要介绍大型仪器设备的使用率，开放和共享程度。（限300字）</td>
    </tr>
    <tr>
        <td>
            <textarea name="proposal/instrument_equipment" class="input_textarea required maxlength:300" label="仪器设备" style="width: 98%" rows="9"><x:out select="$xmlData/data/proposal/instrument_equipment" /></textarea>
            <input type="hidden" name="proposal/instrument_equipment_hidden" value="<x:out select="$xmlData/data/proposal/instrument_equipment_hidden" />"/>
        </td>
    </tr>
</table>

<div class="t_bar">
    <span class="color_red">*</span>4、建设与运行经费及内容
</div>
<table class="t_css" width="100%" id="table_13">
    <tr>
        <td>请简要介绍建设与运行经费预算及使用安排。（限1000字）</td>
    </tr>
    <tr>
        <td>
            <textarea name="proposal/fund_content" class="input_textarea required maxlength:1000" label="建设与运行经费及内容" style="width: 98%" rows="9"><x:out select="$xmlData/data/proposal/fund_content" /></textarea>
            <input type="hidden" name="proposal/fund_content_hidden" value="<x:out select="$xmlData/data/proposal/fund_content_hidden" />"/>
        </td>
    </tr>
</table>